//dungeons_and_princesses_gui.h
//
// Created by Raquel Rhodes  10/2011
// Modified by Raquel Rhodes    11/11/2011
//  Updates:
//      R. Rhodes 11/20


#ifndef DUNGEONS_AND_PRINCESSES_GUI_H
#define DUNGEONS_AND_PRINCESSES_GUI_H

#include <QAbstractScrollArea>
#include <QtGui/qwidget.h>
#include <QtCore/qobject.h>
#include <cstdlib>
#include <iostream>
#include <string>

#include "GuiInterface.h"
#include "TextInterface.h"

class GuiInterface;

namespace Ui {
    class Dungeons_and_Princesses_gui;
}

class Dungeons_and_Princesses_gui : public QWidget
{
   Q_OBJECT

private:
    Ui::Dungeons_and_Princesses_gui *ui;
    GuiInterface *intface;

    //  QPixmap pixmap() const;

public:
    explicit Dungeons_and_Princesses_gui(QWidget *parent = 0);

    void setRoomImage(std::string roomImg);
    void setTextDesc(QString roomDesc);
    void setDirections(QString dirText);
    void updateRoom(/*room parameters including inventory, text description*/);
    void updateStats(/*character stats parameter*/);
    void updateBackPack(/*backpack inventory parameter*/);
    void getInterfaceInstance(GuiInterface *guiIf);

   // void setPixmap(const QPixmap &pixmap);


    ~Dungeons_and_Princesses_gui();

private slots:
    void on_pushButton_character_clicked();
    void on_pushButton_N_clicked();
    void on_pushButton_W_clicked();
    void on_pushButton_S_clicked();
    void on_pushButton_E_clicked();
    void on_pushButton_backpack_clicked();
    void on_pushButton_attack_clicked();
    void on_pushButton_pickup_clicked();
};

#endif // DUNGEONS_AND_PRINCESSES_GUI_H
